package com.infoland.afanmall.model.fuPin.entity;

import java.util.List;

/**
 * @author 王永吉
 * @date 2018/7/2 10:34
 * 扶贫管轮播 Response
 */
public class FuPinGuanPageResponse {

    /**
     * success : true
     * message : null
     * object : [{"promotion_image_url":"http://47.94.246.198/group1/M00/00/25/rBG7OFs129yAG3HKAABoKz7d0Hs64.jpeg",
     * "flag":1,"create_time":"2018-06-29 15:12:28","funpincunList":[{"flag":1,"create_time":"2018-06-29 15:13:36","
     * modify_time":null,"name":"鸡蛋村","context":[{"text":"鸡蛋村盛产大鸡蛋","type":"text"}],"id":4,"goods_ids":"[141]",
     * "sort":3,"fupinguan_id":6,"f_url":"http://47.94.246.198/group1/M00/00/25/rBG7OFs13B-AOl5PAABoPHlMIMo93.jpeg"}],
     * "promotion_data":"[{\"key\": \"扶贫村\", \"value\": \"1\"}, {\"key\": \"对接合作社\", \"value\": \"2\"}]",
     * "promotion_url":"..","modify_time":null,"id":6,"sort":2,"province_name":"黑龙江省"},{"promotion_image_url":
     * "http://10.0.1.49:8090/group1/M00/00/3C/CgABMVr6n4eAZK8KAAETP69N0DE38.jpeg","flag":1,"create_time":"2018-05-15 16:58:21",
     * "funpincunList":[{"flag":1,"create_time":"2018-05-21 12:44:34","modify_time":"2018-06-29 10:20:33","name":"扶贫村b",
     * "context":[{"images":[{"fileName":"164822d562b89b3b5ffcfdfa0455a4e3.jpg",
     * "url":"http://47.94.246.198/group1/M00/00/24/rBG7OFszO2WARdAAAAUenAXmffo586.jpg"},
     * {"fileName":"412121bbbe55131ec4f212911c1cf363.jpg",
     * "url":"http://47.94.246.198/group1/M00/00/24/rBG7OFszO2WASnqeAABUbHoV-GQ775.jpg"},
     * {"fileName":"d28f5a765a9569512ee03e96babeec04.jpg",
     * "url":"http://47.94.246.198/group1/M00/00/24/rBG7OFszO2WABDtJAAd4MLI--V0397.jpg"}],"type":"images"},{"text":"有一个美丽的村庄","type":"text"}],"id":3,"goods_ids":"[116]","sort":2,"fupinguan_id":5,"f_url":"http://47.94.246.198/group1/M00/00/25/rBG7OFs1l3GARfUdAABoPHlMIMo74.jpeg"},{"flag":1,"create_time":"2018-05-16 09:58:28","modify_time":"2018-06-29 09:50:10","name":"扶贫村a","context":[{"images":[{"fileName":"164822d562b89b3b5ffcfdfa0455a4e3.jpg","url":"http://47.94.246.198/group1/M00/00/24/rBG7OFszOz-AJHu4AAUenAXmffo798.jpg"},{"fileName":"412121bbbe55131ec4f212911c1cf363.jpg","url":"http://47.94.246.198/group1/M00/00/24/rBG7OFszOz-ARgRwAABUbHoV-GQ402.jpg"},{"fileName":"d28f5a765a9569512ee03e96babeec04.jpg","url":"http://47.94.246.198/group1/M00/00/24/rBG7OFszOz-AJuMkAAd4MLI--V0090.jpg"}],"type":"images"},{"text":"这是一个美丽的村庄","type":"text"}],"id":2,"goods_ids":"[116, 121, 122, 123, 124, 141]","sort":1,"fupinguan_id":5,"f_url":"http://47.94.246.198/group1/M00/00/25/rBG7OFs1kFKAYvvMAAMsEubpTxo99.jpeg"}],"promotion_data":"[{\"key\": \"1\", \"value\": \"2\"}, {\"key\": \"3\", \"value\": \"4\"}, {\"key\": \"4\", \"value\": \"7\"}, {\"key\": \"7\", \"value\": \"9\"}]","promotion_url":"http://www.aft100.com","modify_time":"2018-05-16 08:27:52","id":5,"sort":1,"province_name":"吉林省"}]
     */

    private boolean success;
    private Object message;
    private List<ObjectBean> object;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public List<ObjectBean> getObject() {
        return object;
    }

    public void setObject(List<ObjectBean> object) {
        this.object = object;
    }

    public static class ObjectBean {
        /**
         * promotion_image_url : http://47.94.246.198/group1/M00/00/25/rBG7OFs129yAG3HKAABoKz7d0Hs64.jpeg
         * flag : 1
         * create_time : 2018-06-29 15:12:28
         * funpincunList : [{"flag":1,"create_time":"2018-06-29 15:13:36","modify_time":null,"name":"鸡蛋村","context":[{"text":"鸡蛋村盛产大鸡蛋","type":"text"}],"id":4,"goods_ids":"[141]","sort":3,"fupinguan_id":6,"f_url":"http://47.94.246.198/group1/M00/00/25/rBG7OFs13B-AOl5PAABoPHlMIMo93.jpeg"}]
         * promotion_data : [{"key": "扶贫村", "value": "1"}, {"key": "对接合作社", "value": "2"}]
         * promotion_url : ..
         * modify_time : null
         * id : 6
         * sort : 2
         * province_name : 黑龙江省
         */

        private String promotion_image_url;
        private int flag;
        private String create_time;
        private String promotion_data;
        private String promotion_url;
        private Object modify_time;
        private int id;
        private int sort;
        private String province_name;
        private List<FunpincunListBean> funpincunList;

        public String getPromotion_image_url() {
            return promotion_image_url;
        }

        public void setPromotion_image_url(String promotion_image_url) {
            this.promotion_image_url = promotion_image_url;
        }

        public int getFlag() {
            return flag;
        }

        public void setFlag(int flag) {
            this.flag = flag;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getPromotion_data() {
            return promotion_data;
        }

        public void setPromotion_data(String promotion_data) {
            this.promotion_data = promotion_data;
        }

        public String getPromotion_url() {
            return promotion_url;
        }

        public void setPromotion_url(String promotion_url) {
            this.promotion_url = promotion_url;
        }

        public Object getModify_time() {
            return modify_time;
        }

        public void setModify_time(Object modify_time) {
            this.modify_time = modify_time;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public String getProvince_name() {
            return province_name;
        }

        public void setProvince_name(String province_name) {
            this.province_name = province_name;
        }

        public List<FunpincunListBean> getFunpincunList() {
            return funpincunList;
        }

        public void setFunpincunList(List<FunpincunListBean> funpincunList) {
            this.funpincunList = funpincunList;
        }

        public static class FunpincunListBean {
            /**
             * flag : 1
             * create_time : 2018-06-29 15:13:36
             * modify_time : null
             * name : 鸡蛋村
             * context : [{"text":"鸡蛋村盛产大鸡蛋","type":"text"}]
             * id : 4
             * goods_ids : [141]
             * sort : 3
             * fupinguan_id : 6
             * f_url : http://47.94.246.198/group1/M00/00/25/rBG7OFs13B-AOl5PAABoPHlMIMo93.jpeg
             */

            private int flag;
            private String create_time;
            private Object modify_time;
            private String name;
            private int id;
            private String goods_ids;
            private int sort;
            private int fupinguan_id;
            private String f_url;
            private List<ContextBean> context;

            public int getFlag() {
                return flag;
            }

            public void setFlag(int flag) {
                this.flag = flag;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public Object getModify_time() {
                return modify_time;
            }

            public void setModify_time(Object modify_time) {
                this.modify_time = modify_time;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getGoods_ids() {
                return goods_ids;
            }

            public void setGoods_ids(String goods_ids) {
                this.goods_ids = goods_ids;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getFupinguan_id() {
                return fupinguan_id;
            }

            public void setFupinguan_id(int fupinguan_id) {
                this.fupinguan_id = fupinguan_id;
            }

            public String getF_url() {
                return f_url;
            }

            public void setF_url(String f_url) {
                this.f_url = f_url;
            }

            public List<ContextBean> getContext() {
                return context;
            }

            public void setContext(List<ContextBean> context) {
                this.context = context;
            }

            public static class ContextBean {
                /**
                 * text : 鸡蛋村盛产大鸡蛋
                 * type : text
                 */

                private String text;
                private String type;

                public String getText() {
                    return text;
                }

                public void setText(String text) {
                    this.text = text;
                }

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }
            }
        }
    }
}
